package com.ruicar.afs.cloud.channel.witness.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.channel.witness.entity.ChannelWitnessInfoTemp;
import com.ruicar.afs.cloud.channel.witness.mapper.ChannelWitnessInfoTempMapper;
import com.ruicar.afs.cloud.channel.witness.service.ChannelWitnessInfoTempService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Method $method$
 * @Author Ice
 * @Return $return$
 * @Exception $exception$
 * @Date $date$ $time$
 */
@Slf4j
@Service
@AllArgsConstructor
public class ChannelWitnessInfoTempImpl extends ServiceImpl<ChannelWitnessInfoTempMapper, ChannelWitnessInfoTemp> implements ChannelWitnessInfoTempService {

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessList(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids) {
        return baseMapper.getWitnessList(page, wirness, ids);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getChannelWitnessListData(Page page, ChannelWitnessInfoTemp wirness) {
        return baseMapper.getChannelWitnessListData(page, wirness);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessUseChannel(Page page, ChannelWitnessInfoTemp wirness) {
        return baseMapper.getWitnessUseChannel(page, wirness);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getRegister(Page page, ChannelWitnessInfoTemp wirness, List<String> roles, String key) {
        return baseMapper.getRegister(page, wirness, roles, key);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOnlyOtherAll(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids) {
        return baseMapper.getWitnessOnlyOtherAll(page, wirness, ids);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOtherAllOwnOnly(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids,String type) {
        return baseMapper.getWitnessOtherAllOwnOnly(page, wirness, ids,type);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOtherOnly(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids,String type) {
        return baseMapper.getWitnessOtherOnly(page, wirness, ids,type);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOtherOnlyOwnOnly(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids,String typeOther,String typeOwn) {
        return baseMapper.getWitnessOtherOnlyOwnOnly(page, wirness, ids,typeOther,typeOwn);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOtherOnlyOwnAll(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids,String typeOther) {
        return baseMapper.getWitnessOtherOnlyOwnAll(page, wirness, ids,typeOther);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOwnAll(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids) {
        return baseMapper.getWitnessOwnAll(page, wirness, ids);
    }

    @Override
    public IPage<List<ChannelWitnessInfoTemp>> getWitnessOwnOnly(Page page, ChannelWitnessInfoTemp wirness, List<Long> ids ,String typeOwn) {
        return baseMapper.getWitnessOwnOnly(page, wirness, ids,typeOwn);
    }
}
